package com.ruoyi.system.domain.api;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 星级配置对象 b_level_config
 * 
 * @author ruoyi
 * @date 2022-04-21
 */
public class BLevelConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 自身投资金额 */
    @Excel(name = "自身投资金额")
    private Long levelNo;

    /** 等级名称 */
    @Excel(name = "等级名称")
    private String levelName;

    /** 投资金额 */
    @Excel(name = "投资金额")
    private BigDecimal mineAmount;

    /** 基础算力 */
    @Excel(name = "基础算力")
    private BigDecimal basePower;

    /** 加成算力 fil/T */
    @Excel(name = "加成算力 fil/T")
    private BigDecimal addPower;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLevelNo(Long levelNo) 
    {
        this.levelNo = levelNo;
    }

    public Long getLevelNo() 
    {
        return levelNo;
    }
    public void setLevelName(String levelName) 
    {
        this.levelName = levelName;
    }

    public String getLevelName() 
    {
        return levelName;
    }
    public void setMineAmount(BigDecimal mineAmount) 
    {
        this.mineAmount = mineAmount;
    }

    public BigDecimal getMineAmount() 
    {
        return mineAmount;
    }
    public void setBasePower(BigDecimal basePower) 
    {
        this.basePower = basePower;
    }

    public BigDecimal getBasePower() 
    {
        return basePower;
    }
    public void setAddPower(BigDecimal addPower) 
    {
        this.addPower = addPower;
    }

    public BigDecimal getAddPower() 
    {
        return addPower;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("levelNo", getLevelNo())
            .append("levelName", getLevelName())
            .append("mineAmount", getMineAmount())
            .append("basePower", getBasePower())
            .append("addPower", getAddPower())
            .append("createTime", getCreateTime())
            .toString();
    }
}
